package com.cloud.basic.Advance.Design.Flyweight_Pattern;

/**
 * @program: basic
 * @description: 白色棋子类
 * @author: Cloud
 * @create: 2022/2/23 14:35:39
 */
public class WhiteChessman extends AbstractChessman{

    public WhiteChessman() {
        super("○");
        System.out.println("--WhiteChessman Construction Exec!!!");
    }

    @Override
    public void point(int x, int y) {
        this.x = x;
        this.y = y;
        // 显示棋子位置
        show();
    }
}
